package com.ankur.fareplease.service.impl;

import com.ankur.fareplease.factory.CityFareFactory;
import com.ankur.fareplease.model.FareDAO;
import com.ankur.fareplease.service.AutoFareService;

public class AutoFareServiceImpl implements AutoFareService {

	@Override
	public float getFare(FareDAO fareDAO) {
		return CityFareFactory.getCityFare(fareDAO.getCity()).getFare(fareDAO);
	}

}
